<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>UniMRCP: mrcp_server_connection.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">UniMRCP
   &#160;<span id="projectnumber">1.5.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_6719ab1f1f7655efc2fa43f7eb574fd1.html">libs</a></li><li class="navelem"><a class="el" href="dir_94477f215d1a999cf0ec33f8a2ea64b1.html">mrcpv2-transport</a></li><li class="navelem"><a class="el" href="dir_f91b8333446e35e30a852ac1a785decf.html">include</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">mrcp_server_connection.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>MRCPv2 Server Connection.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="apt__task_8h_source.html">apt_task.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="mrcp__connection__types_8h_source.html">mrcp_connection_types.h</a>&quot;</code><br/>
</div>
<p><a href="mrcp__server__connection_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:aa124ebdbdf6f7cc13faab17abb1d3705"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ad3d792bfc75893affad257781ea46e55">APT_BEGIN_EXTERN_C</a> <br class="typebreak"/>
<a class="el" href="mrcp__connection__types_8h.html#a9f15e92384d23530461079f399fcc737">mrcp_connection_agent_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mrcp__server__connection_8h.html#aa124ebdbdf6f7cc13faab17abb1d3705">mrcp_server_connection_agent_create</a> (const char *id, const char *listen_ip, apr_port_t listen_port, apr_size_t max_connection_count, <a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> force_new_connection, apr_pool_t *pool)</td></tr>
<tr class="separator:aa124ebdbdf6f7cc13faab17abb1d3705"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b48266f547b05867dc29020d3667f62"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mrcp__server__connection_8h.html#a7b48266f547b05867dc29020d3667f62">mrcp_server_connection_agent_destroy</a> (<a class="el" href="mrcp__connection__types_8h.html#a9f15e92384d23530461079f399fcc737">mrcp_connection_agent_t</a> *agent)</td></tr>
<tr class="separator:a7b48266f547b05867dc29020d3667f62"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9cf4a54b58c5dda947d42e9be23af99"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mrcp__server__connection_8h.html#af9cf4a54b58c5dda947d42e9be23af99">mrcp_server_connection_agent_start</a> (<a class="el" href="mrcp__connection__types_8h.html#a9f15e92384d23530461079f399fcc737">mrcp_connection_agent_t</a> *agent)</td></tr>
<tr class="separator:af9cf4a54b58c5dda947d42e9be23af99"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ecaf42d0b6fa6c5046e66b94197384f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mrcp__server__connection_8h.html#a5ecaf42d0b6fa6c5046e66b94197384f">mrcp_server_connection_agent_terminate</a> (<a class="el" href="mrcp__connection__types_8h.html#a9f15e92384d23530461079f399fcc737">mrcp_connection_agent_t</a> *agent)</td></tr>
<tr class="separator:a5ecaf42d0b6fa6c5046e66b94197384f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa86474998c593461c766b143ee29b990"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mrcp__server__connection_8h.html#aa86474998c593461c766b143ee29b990">mrcp_server_connection_agent_handler_set</a> (<a class="el" href="mrcp__connection__types_8h.html#a9f15e92384d23530461079f399fcc737">mrcp_connection_agent_t</a> *agent, void *obj, const <a class="el" href="structmrcp__connection__event__vtable__t.html">mrcp_connection_event_vtable_t</a> *vtable)</td></tr>
<tr class="separator:aa86474998c593461c766b143ee29b990"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a324d7b7146e0b0cc54bec2b15e379e82"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mrcp__server__connection_8h.html#a324d7b7146e0b0cc54bec2b15e379e82">mrcp_server_connection_resource_factory_set</a> (<a class="el" href="mrcp__connection__types_8h.html#a9f15e92384d23530461079f399fcc737">mrcp_connection_agent_t</a> *agent, const <a class="el" href="mrcp__types_8h.html#a86ea0bd6606e449e37ca9f5378556ab0">mrcp_resource_factory_t</a> *resource_factory)</td></tr>
<tr class="separator:a324d7b7146e0b0cc54bec2b15e379e82"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a12e39a57e05dc86317a440615642f853"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mrcp__server__connection_8h.html#a12e39a57e05dc86317a440615642f853">mrcp_server_connection_rx_size_set</a> (<a class="el" href="mrcp__connection__types_8h.html#a9f15e92384d23530461079f399fcc737">mrcp_connection_agent_t</a> *agent, apr_size_t size)</td></tr>
<tr class="separator:a12e39a57e05dc86317a440615642f853"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a921865135bf2d20f90bbc6a0d16f09"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mrcp__server__connection_8h.html#a7a921865135bf2d20f90bbc6a0d16f09">mrcp_server_connection_tx_size_set</a> (<a class="el" href="mrcp__connection__types_8h.html#a9f15e92384d23530461079f399fcc737">mrcp_connection_agent_t</a> *agent, apr_size_t size)</td></tr>
<tr class="separator:a7a921865135bf2d20f90bbc6a0d16f09"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac8db555cbf858c4a064266ac3a3060cf"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mrcp__server__connection_8h.html#ac8db555cbf858c4a064266ac3a3060cf">mrcp_server_connection_max_shared_use_set</a> (<a class="el" href="mrcp__connection__types_8h.html#a9f15e92384d23530461079f399fcc737">mrcp_connection_agent_t</a> *agent, apr_size_t max_shared_use_count)</td></tr>
<tr class="separator:ac8db555cbf858c4a064266ac3a3060cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a83d9ad7685ce107a9008b131e9fc4f2f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mrcp__server__connection_8h.html#a83d9ad7685ce107a9008b131e9fc4f2f">mrcp_server_connection_timeout_set</a> (<a class="el" href="mrcp__connection__types_8h.html#a9f15e92384d23530461079f399fcc737">mrcp_connection_agent_t</a> *agent, apr_size_t timeout)</td></tr>
<tr class="separator:a83d9ad7685ce107a9008b131e9fc4f2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afbe8aded26aef76c9c0887f3cdee5345"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mrcp__server__connection_8h.html#afbe8aded26aef76c9c0887f3cdee5345">mrcp_server_connection_term_timeout_set</a> (<a class="el" href="mrcp__connection__types_8h.html#a9f15e92384d23530461079f399fcc737">mrcp_connection_agent_t</a> *agent, apr_size_t timeout)</td></tr>
<tr class="separator:afbe8aded26aef76c9c0887f3cdee5345"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adcaeb6159df4c2edeaa458528f61080e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mrcp__server__connection_8h.html#adcaeb6159df4c2edeaa458528f61080e">mrcp_server_connection_agent_task_get</a> (const <a class="el" href="mrcp__connection__types_8h.html#a9f15e92384d23530461079f399fcc737">mrcp_connection_agent_t</a> *agent)</td></tr>
<tr class="separator:adcaeb6159df4c2edeaa458528f61080e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a87d2df5bde3f670c3dcc13a1497d5a5c"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mrcp__server__connection_8h.html#a87d2df5bde3f670c3dcc13a1497d5a5c">mrcp_server_connection_agent_object_get</a> (const <a class="el" href="mrcp__connection__types_8h.html#a9f15e92384d23530461079f399fcc737">mrcp_connection_agent_t</a> *agent)</td></tr>
<tr class="separator:a87d2df5bde3f670c3dcc13a1497d5a5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e1b99cf83b870f9ad1568a4a1980d5e"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mrcp__server__connection_8h.html#a2e1b99cf83b870f9ad1568a4a1980d5e">mrcp_server_connection_agent_id_get</a> (const <a class="el" href="mrcp__connection__types_8h.html#a9f15e92384d23530461079f399fcc737">mrcp_connection_agent_t</a> *agent)</td></tr>
<tr class="separator:a2e1b99cf83b870f9ad1568a4a1980d5e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3dd8ce30d318bebaf0b1d7cd09493055"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structmrcp__control__channel__t.html">mrcp_control_channel_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mrcp__server__connection_8h.html#a3dd8ce30d318bebaf0b1d7cd09493055">mrcp_server_control_channel_create</a> (<a class="el" href="mrcp__connection__types_8h.html#a9f15e92384d23530461079f399fcc737">mrcp_connection_agent_t</a> *agent, void *obj, apr_pool_t *pool)</td></tr>
<tr class="separator:a3dd8ce30d318bebaf0b1d7cd09493055"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a50cab3cb4f207413f9cf53d8addf785b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mrcp__server__connection_8h.html#a50cab3cb4f207413f9cf53d8addf785b">mrcp_server_control_channel_add</a> (<a class="el" href="structmrcp__control__channel__t.html">mrcp_control_channel_t</a> *channel, <a class="el" href="structmrcp__control__descriptor__t.html">mrcp_control_descriptor_t</a> *descriptor)</td></tr>
<tr class="separator:a50cab3cb4f207413f9cf53d8addf785b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09c01bf304c293c196d6e23657e43565"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mrcp__server__connection_8h.html#a09c01bf304c293c196d6e23657e43565">mrcp_server_control_channel_modify</a> (<a class="el" href="structmrcp__control__channel__t.html">mrcp_control_channel_t</a> *channel, <a class="el" href="structmrcp__control__descriptor__t.html">mrcp_control_descriptor_t</a> *descriptor)</td></tr>
<tr class="separator:a09c01bf304c293c196d6e23657e43565"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a730e9528e8284a904388b38791ae4521"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mrcp__server__connection_8h.html#a730e9528e8284a904388b38791ae4521">mrcp_server_control_channel_remove</a> (<a class="el" href="structmrcp__control__channel__t.html">mrcp_control_channel_t</a> *channel)</td></tr>
<tr class="separator:a730e9528e8284a904388b38791ae4521"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeded3a8f5d49de2161293b8634adb0d8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mrcp__server__connection_8h.html#aeded3a8f5d49de2161293b8634adb0d8">mrcp_server_control_channel_destroy</a> (<a class="el" href="structmrcp__control__channel__t.html">mrcp_control_channel_t</a> *channel)</td></tr>
<tr class="separator:aeded3a8f5d49de2161293b8634adb0d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a88e6b1f2bd144da77d318a0623a40d4c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mrcp__server__connection_8h.html#a88e6b1f2bd144da77d318a0623a40d4c">mrcp_server_control_message_send</a> (<a class="el" href="structmrcp__control__channel__t.html">mrcp_control_channel_t</a> *channel, <a class="el" href="structmrcp__message__t.html">mrcp_message_t</a> *message)</td></tr>
<tr class="separator:a88e6b1f2bd144da77d318a0623a40d4c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>MRCPv2 Server Connection. </p>
</div><h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="aa124ebdbdf6f7cc13faab17abb1d3705"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ad3d792bfc75893affad257781ea46e55">APT_BEGIN_EXTERN_C</a> <a class="el" href="mrcp__connection__types_8h.html#a9f15e92384d23530461079f399fcc737">mrcp_connection_agent_t</a>* mrcp_server_connection_agent_create </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>listen_ip</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">apr_port_t&#160;</td>
          <td class="paramname"><em>listen_port</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">apr_size_t&#160;</td>
          <td class="paramname"><em>max_connection_count</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td>
          <td class="paramname"><em>force_new_connection</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">apr_pool_t *&#160;</td>
          <td class="paramname"><em>pool</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Create connection agent. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>the identifier of the engine </td></tr>
    <tr><td class="paramname">listen_ip</td><td>the IP address to listen on </td></tr>
    <tr><td class="paramname">listen_port</td><td>the port to listen on </td></tr>
    <tr><td class="paramname">max_connection_count</td><td>the number of max MRCPv2 connections </td></tr>
    <tr><td class="paramname">force_new_connection</td><td>the policy used in o/a for connection establishment </td></tr>
    <tr><td class="paramname">pool</td><td>the pool to allocate memory from </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a7b48266f547b05867dc29020d3667f62"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> mrcp_server_connection_agent_destroy </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="mrcp__connection__types_8h.html#a9f15e92384d23530461079f399fcc737">mrcp_connection_agent_t</a> *&#160;</td>
          <td class="paramname"><em>agent</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Destroy connection agent. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">agent</td><td>the agent to destroy </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aa86474998c593461c766b143ee29b990"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mrcp_server_connection_agent_handler_set </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="mrcp__connection__types_8h.html#a9f15e92384d23530461079f399fcc737">mrcp_connection_agent_t</a> *&#160;</td>
          <td class="paramname"><em>agent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>obj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structmrcp__connection__event__vtable__t.html">mrcp_connection_event_vtable_t</a> *&#160;</td>
          <td class="paramname"><em>vtable</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Set connection event handler. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">agent</td><td>the agent to set event hadler for </td></tr>
    <tr><td class="paramname">obj</td><td>the external object to associate with the agent </td></tr>
    <tr><td class="paramname">vtable</td><td>the event handler virtual methods </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a2e1b99cf83b870f9ad1568a4a1980d5e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* mrcp_server_connection_agent_id_get </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="mrcp__connection__types_8h.html#a9f15e92384d23530461079f399fcc737">mrcp_connection_agent_t</a> *&#160;</td>
          <td class="paramname"><em>agent</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get string identifier. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">agent</td><td>the agent to get identifier of </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a87d2df5bde3f670c3dcc13a1497d5a5c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* mrcp_server_connection_agent_object_get </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="mrcp__connection__types_8h.html#a9f15e92384d23530461079f399fcc737">mrcp_connection_agent_t</a> *&#160;</td>
          <td class="paramname"><em>agent</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get external object. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">agent</td><td>the agent to get object from </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="af9cf4a54b58c5dda947d42e9be23af99"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> mrcp_server_connection_agent_start </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="mrcp__connection__types_8h.html#a9f15e92384d23530461079f399fcc737">mrcp_connection_agent_t</a> *&#160;</td>
          <td class="paramname"><em>agent</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Start connection agent and wait for incoming requests. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">agent</td><td>the agent to start </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="adcaeb6159df4c2edeaa458528f61080e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt__task_8h.html#a1b5b1eaf9cb77eaab758e6a79e1469c7">apt_task_t</a>* mrcp_server_connection_agent_task_get </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="mrcp__connection__types_8h.html#a9f15e92384d23530461079f399fcc737">mrcp_connection_agent_t</a> *&#160;</td>
          <td class="paramname"><em>agent</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get task. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">agent</td><td>the agent to get task from </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a5ecaf42d0b6fa6c5046e66b94197384f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> mrcp_server_connection_agent_terminate </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="mrcp__connection__types_8h.html#a9f15e92384d23530461079f399fcc737">mrcp_connection_agent_t</a> *&#160;</td>
          <td class="paramname"><em>agent</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Terminate connection agent. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">agent</td><td>the agent to terminate </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ac8db555cbf858c4a064266ac3a3060cf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mrcp_server_connection_max_shared_use_set </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="mrcp__connection__types_8h.html#a9f15e92384d23530461079f399fcc737">mrcp_connection_agent_t</a> *&#160;</td>
          <td class="paramname"><em>agent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">apr_size_t&#160;</td>
          <td class="paramname"><em>max_shared_use_count</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Set max shared use count for an MRCPv2 connection. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">agent</td><td>the agent to set the parameter for </td></tr>
    <tr><td class="paramname">max_shared_use_count</td><td>the number of max shared use count of an MRCPv2 connection </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a324d7b7146e0b0cc54bec2b15e379e82"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mrcp_server_connection_resource_factory_set </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="mrcp__connection__types_8h.html#a9f15e92384d23530461079f399fcc737">mrcp_connection_agent_t</a> *&#160;</td>
          <td class="paramname"><em>agent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="mrcp__types_8h.html#a86ea0bd6606e449e37ca9f5378556ab0">mrcp_resource_factory_t</a> *&#160;</td>
          <td class="paramname"><em>resource_factory</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Set MRCP resource factory. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">agent</td><td>the agent to set resource factory for </td></tr>
    <tr><td class="paramname">resource_factory</td><td>the MRCP resource factory to set </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a12e39a57e05dc86317a440615642f853"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mrcp_server_connection_rx_size_set </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="mrcp__connection__types_8h.html#a9f15e92384d23530461079f399fcc737">mrcp_connection_agent_t</a> *&#160;</td>
          <td class="paramname"><em>agent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">apr_size_t&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Set rx buffer size. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">agent</td><td>the agent to set buffer size for </td></tr>
    <tr><td class="paramname">size</td><td>the size of rx buffer to set </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="afbe8aded26aef76c9c0887f3cdee5345"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mrcp_server_connection_term_timeout_set </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="mrcp__connection__types_8h.html#a9f15e92384d23530461079f399fcc737">mrcp_connection_agent_t</a> *&#160;</td>
          <td class="paramname"><em>agent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">apr_size_t&#160;</td>
          <td class="paramname"><em>timeout</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Set termination timeout for an MRCPv2 connection. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">agent</td><td>the agent to set the parameter for </td></tr>
    <tr><td class="paramname">timeout</td><td>the termination timeout to set in seconds </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a83d9ad7685ce107a9008b131e9fc4f2f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mrcp_server_connection_timeout_set </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="mrcp__connection__types_8h.html#a9f15e92384d23530461079f399fcc737">mrcp_connection_agent_t</a> *&#160;</td>
          <td class="paramname"><em>agent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">apr_size_t&#160;</td>
          <td class="paramname"><em>timeout</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Set inactivity timeout for an MRCPv2 connection. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">agent</td><td>the agent to set the parameter for </td></tr>
    <tr><td class="paramname">timeout</td><td>the inactivity timeout to set in seconds </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a7a921865135bf2d20f90bbc6a0d16f09"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mrcp_server_connection_tx_size_set </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="mrcp__connection__types_8h.html#a9f15e92384d23530461079f399fcc737">mrcp_connection_agent_t</a> *&#160;</td>
          <td class="paramname"><em>agent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">apr_size_t&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Set tx buffer size. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">agent</td><td>the agent to set buffer size for </td></tr>
    <tr><td class="paramname">size</td><td>the size of the rx buffer to set </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a50cab3cb4f207413f9cf53d8addf785b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> mrcp_server_control_channel_add </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structmrcp__control__channel__t.html">mrcp_control_channel_t</a> *&#160;</td>
          <td class="paramname"><em>channel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structmrcp__control__descriptor__t.html">mrcp_control_descriptor_t</a> *&#160;</td>
          <td class="paramname"><em>descriptor</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Add MRCPv2 control channel. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">channel</td><td>the control channel to add </td></tr>
    <tr><td class="paramname">descriptor</td><td>the control descriptor </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a3dd8ce30d318bebaf0b1d7cd09493055"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structmrcp__control__channel__t.html">mrcp_control_channel_t</a>* mrcp_server_control_channel_create </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="mrcp__connection__types_8h.html#a9f15e92384d23530461079f399fcc737">mrcp_connection_agent_t</a> *&#160;</td>
          <td class="paramname"><em>agent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>obj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">apr_pool_t *&#160;</td>
          <td class="paramname"><em>pool</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Create control channel. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">agent</td><td>the agent to create channel for </td></tr>
    <tr><td class="paramname">obj</td><td>the external object to associate with the control channel </td></tr>
    <tr><td class="paramname">pool</td><td>the pool to allocate memory from </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aeded3a8f5d49de2161293b8634adb0d8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> mrcp_server_control_channel_destroy </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structmrcp__control__channel__t.html">mrcp_control_channel_t</a> *&#160;</td>
          <td class="paramname"><em>channel</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Destroy MRCPv2 control channel. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">channel</td><td>the control channel to destroy </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a09c01bf304c293c196d6e23657e43565"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> mrcp_server_control_channel_modify </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structmrcp__control__channel__t.html">mrcp_control_channel_t</a> *&#160;</td>
          <td class="paramname"><em>channel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structmrcp__control__descriptor__t.html">mrcp_control_descriptor_t</a> *&#160;</td>
          <td class="paramname"><em>descriptor</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Modify MRCPv2 control channel. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">channel</td><td>the control channel to modify </td></tr>
    <tr><td class="paramname">descriptor</td><td>the control descriptor </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a730e9528e8284a904388b38791ae4521"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> mrcp_server_control_channel_remove </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structmrcp__control__channel__t.html">mrcp_control_channel_t</a> *&#160;</td>
          <td class="paramname"><em>channel</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Remove MRCPv2 control channel. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">channel</td><td>the control channel to remove </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a88e6b1f2bd144da77d318a0623a40d4c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> mrcp_server_control_message_send </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structmrcp__control__channel__t.html">mrcp_control_channel_t</a> *&#160;</td>
          <td class="paramname"><em>channel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structmrcp__message__t.html">mrcp_message_t</a> *&#160;</td>
          <td class="paramname"><em>message</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Send MRCPv2 message. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">channel</td><td>the control channel to send message through </td></tr>
    <tr><td class="paramname">message</td><td>the message to send </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Aug 22 2017 10:11:48 for UniMRCP by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
